<?php
class RelatedWidget extends CWidget{
    public $category = null;
    
    /**
     * 
     */
    public function run(){
        if($this->category != null){
            $this->render('related',array('category' => $this->category));
        }
    }
}